package com.dao;

import com.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DeptMapper {

    public List<Dept> getDepartments();

    public void deleteDept(int id);

    public void insertDept(Dept dept);

}
